package com.zhongxi.guoyuan.entity.clearweed;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.util.List;

/**
 * Created by Administrator on 2018/1/11.
 */

public class ClearEvaluateResult {

    /**
     * code : 1
     * user : {}
     * comments : []
     * totalNum : 0
     * safeobj : {"now":"1515665937.889316","key":"9ffb31c8d7e3bae07e3dc7778d6cf974","safestring":"e447a453a1df03a856f52580c5074ac8"}
     */

    private int code;
    private UserBean user;
    private int totalNum;
    private BaseResult safeobj;
    private List<Comments> comments;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }


    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public List<Comments> getComments() {
        return comments;
    }

    public void setComments(List<Comments> comments) {
        this.comments = comments;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }


    public static class UserBean {
    }

    /**
     * orderid
     * goodsid
     * userid
     * starlevel
     * content
     * ctime
     */
    public static class Comments {
        private String orderid;
        private String goodsid;
        private String userid;
        private String starlevel;
        private String content;
        private String ctime;

        public Comments() {
        }

        public Comments(String starlevel, String content, String ctime) {
            this.starlevel = starlevel;
            this.content = content;
            this.ctime = ctime;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(String goodsid) {
            this.goodsid = goodsid;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getStarlevel() {
            return starlevel;
        }

        public void setStarlevel(String starlevel) {
            this.starlevel = starlevel;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }
    }

}
